package ToStringPractise;

public class CircleTest {
    public static void main(String[] args) {
        Circle c1=new Circle(2.0);
        Circle c2=new Circle("red",2.0,1.5);
        System.out.println("颜色是否相等 "+c1.getColor().equals(c2.getColor()));
        System.out.println(c1.equals(c2));
    }
}
